/**
 * Created by 王景华 on 2021/1/3 10:52 上午.
 */

#include <stdio.h>
#include <string.h>
#define PRAISE "What a super marvelous name!"

int main(){

    char name[40];
    printf("Name: ");
    scanf("%s", name);

    printf("Hello, %s, %s\n", name, PRAISE);
    printf("Your name of %lu letters occupies %lu memory cells\n", strlen(name), sizeof name);

    printf("The phrase of praise has %lu letters and occupies %lu memory cells \n", strlen(PRAISE), sizeof PRAISE);


    return 0;
}